diff options
Diffstat (limited to 'app/[lng]/partners/(partners)/rfq-last/page.tsx')
| -rw-r--r-- | app/[lng]/partners/(partners)/rfq-last/page.tsx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/app/[lng]/partners/(partners)/rfq-last/page.tsx b/app/[lng]/partners/(partners)/rfq-last/page.tsx index a49ed648..5a64d4b2 100644 --- a/app/[lng]/partners/(partners)/rfq-last/page.tsx +++ b/app/[lng]/partners/(partners)/rfq-last/page.tsx @@ -15,6 +15,7 @@ import { searchParamsVendorRfqCache } from "@/lib/rfq-last/vendor-response/valid import { InformationButton } from "@/components/information/information-button" import { getVendorQuotationsLast,getQuotationStatusCountsLast } from "@/lib/rfq-last/vendor-response/service"; import { VendorQuotationsTableLast } from "@/lib/rfq-last/vendor-response/vendor-quotations-table"; +import { useTranslation } from "@/i18n" export const metadata: Metadata = { title: "견적 목록", @@ -22,11 +23,14 @@ export const metadata: Metadata = { }; interface IndexPageProps { + params: Promise<{ lng: string }> searchParams: Promise<SearchParams> } export default async function IndexPage(props: IndexPageProps) { + const { lng } = await props.params; + const { t } = await useTranslation(lng, 'menu') const searchParams = await props.searchParams const search = searchParamsVendorRfqCache.parse(searchParams) const validFilters = getValidFilters(search.filters) @@ -41,7 +45,7 @@ export default async function IndexPage(props: IndexPageProps) { <div> <div className="flex items-center gap-2"> <h2 className="text-2xl font-bold tracking-tight"> - 견적 목록 + {t('menu.vendor.procurement.rfq_response')} </h2> <InformationButton pagePath="partners/rfq-last" /> </div> @@ -112,9 +116,9 @@ export default async function IndexPage(props: IndexPageProps) { <Shell className="gap-6"> <div className="flex justify-between items-center"> <div> - <h2 className="text-2xl font-bold tracking-tight">견적 목록</h2> + <h2 className="text-2xl font-bold tracking-tight">{t('menu.vendor.procurement.rfq_response')}</h2> <p className="text-muted-foreground"> - 진행 중인 견적서 목록을 확인하고 관리합니다. + {t('menu.vendor.procurement.rfq_response_desc')} </p> </div> </div> @@ -190,4 +194,4 @@ export default async function IndexPage(props: IndexPageProps) { </React.Suspense> </Shell> ); -}
\ No newline at end of file +} |
